package com.lyf.aop.practice.practice_5_16.dao;

import com.lyf.aop.practice.practice_5_16.domain.entity.PersonEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Component;

/**
 * @AUTHOR LYF
 * @DATE 2022/5/16
 * @VERSION 1.0
 * @DESC
 */
@Component
//@ComponentScan("com.lyf.aop.practice.practice_5_16.config.GlobalConfig")
public class PersonDao {
   @Autowired
   JdbcTemplate jdbcTemplate;
   void insertUser(PersonEntity personEntity){
      //jdbcTemplate.update()
   }
}
